package com.springboot_gradrecruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot_gradrecruit.common.PageResponse;
import com.springboot_gradrecruit.model.dto.admin.PageUserRequest;
import com.springboot_gradrecruit.model.dto.student.AddResumeRequest;
import com.springboot_gradrecruit.model.dto.student.PageStudentRequest;
import com.springboot_gradrecruit.model.dto.student.UpdateStudentRequest;
import com.springboot_gradrecruit.model.entity.Student;
import com.springboot_gradrecruit.model.vo.UserVO;
import com.springboot_gradrecruit.model.vo.student.StudentVO;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.stereotype.Service;


/**
* @author zr
* @description 针对表【student】的数据库操作Service
* @createDate 2024-10-27 19:20:26
*/
@Service
public interface StudentService extends IService<Student> {

    // 添加简历
    Long addResume(AddResumeRequest addResumeRequest, HttpServletRequest request);

    // 根据查询简历根据学生绑定的用户id
    StudentVO queryResumeByStudentUserId(Long studentUserId);
    // 分页查询学生
    PageResponse<StudentVO> pageStudent(PageStudentRequest pageStudentRequest);

    // 更新学生信息
    boolean updateStudentById(UpdateStudentRequest updateStudentRequest);



}
